<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>test Index</title>
</head>
<body>

<form action="${ f:url('parse') }" method="post">
	<textarea name="message" cols="80" rows="5"></textarea>
	<input type="submit">
</form>

<c:if test="${ words != null }">
	<ul>
		<c:forEach var="word" items="${ words }">
			<li>${ f:h(word) }</li>
		</c:forEach>
	</ul>
</c:if>

</body>
</html>
